<div id="left_page" class="content">
	<h2><acronym title="Frequently asked questions">FAQ</acronym> (Questions fréquemment posées)</h2>

<?php
foreach ($faqs as $faq) {
	?>
	<div id="faq-<?= $faq->id ?>" class="sub-content">
		<h3>
			<span class="faq-date"><?= time_to_str($faq->updated_at) ?></span>
			<?= $faq->question ?>
		</h3>
		<div class="block">
			<?= $faq->answer ?>
		</div>
	</div>
<?php } ?>
</div>

<div id="right_page">
	<ul id="faq-index">
		<?php foreach ($faqs as $faq) { ?>
		<li>
			<a href="#faq-<?= $faq->id ?>"><?= $faq->question ?></a>
		</li>
		<?php } ?>
	</ul>
</div>
